package org.com.creationalPattern.builderPattern;

/**
 * 建造者模式
 * 描述一台电脑需要抽像出那些属性
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/14 14:03
 */
public abstract class Computer {
    private String type;    //型号
    private String CUP;     //CUP
    private String ram;     //内存
    private String hardDisk;    //硬盘
    private String monitor;     //显示器
    private String OS;      //系统

    public String getOS() {
        return OS;
    }

    public void setOS(String OS) {
        this.OS = OS;
    }

    public String getMonitor() {
        return monitor;
    }

    public void setMonitor(String monitor) {
        this.monitor = monitor;
    }

    public String getHardDisk() {
        return hardDisk;
    }

    public void setHardDisk(String hardDisk) {
        this.hardDisk = hardDisk;
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram;
    }

    public String getCUP() {
        return CUP;
    }

    public void setCUP(String CUP) {
        this.CUP = CUP;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
